package com.yikome.delivery.entity;

import java.math.BigDecimal;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Index;
import javax.persistence.Table;

import com.yikome.common.BaseEntity;

import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;

@Setter
@Getter
@NoArgsConstructor
@Entity
@Table(name = "d_delivery_details" , indexes = {@Index(columnList="deliveryCode") , @Index(columnList="productSkuBarcode")})
public class DeliveryDetails extends BaseEntity {

	private static final long serialVersionUID = 5765564927253747633L;

	@Column(length=50)
	private String deliveryCode ;
	
	private Long productId ; 
	
	private String productTitle ; 
	
	@Column(length=50)
	private String productSkuBarcode ; 
	
	private String productSkuName ; 
	
	private BigDecimal productPrice ; 
	
	private String productImageUrl ; 
	
	private Integer quantity ; 
	
}
